package com.qianfeng.ls.entity;

//商品实体类
public class GoodsEntity {

    private String goodsId; //商品id
    private String goodsName; //商品名称
    private String goodsImage; //商品的图片
    private float goodsPrice; //价格
    private int goodsTid = -1; //商品类别id;
    private String goodsDesc; //描述
    private float goodsDiscount; //折扣
    private int goodsIsdelete; //是否删除
    private int goodsLabel = -1;//商品标签; 新品 爆款 折扣
    private int goodsSex = -1; // 男装 女装

    private int pageNum = 1;
    private int pageSize = 5;

    private int goodsNumber = 1;//购物车里面添加的商品数量

    private GoodsTypeEntity goodsType;//商品的类别

    public int getGoodsTid() {
        return goodsTid;
    }

    public void setGoodsTid(int goodsTid) {
        this.goodsTid = goodsTid;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public GoodsTypeEntity getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(GoodsTypeEntity goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public float getGoodsDiscount() {
        return goodsDiscount;
    }

    public void setGoodsDiscount(float goodsDiscount) {
        this.goodsDiscount = goodsDiscount;
    }

    public int getGoodsIsdelete() {
        return goodsIsdelete;
    }

    public void setGoodsIsdelete(int goodsIsdelete) {
        this.goodsIsdelete = goodsIsdelete;
    }

    public int getGoodsLabel() {
        return goodsLabel;
    }

    public void setGoodsLabel(int goodsLabel) {
        this.goodsLabel = goodsLabel;
    }

    public int getGoodsSex() {
        return goodsSex;
    }

    public void setGoodsSex(int goodsSex) {
        this.goodsSex = goodsSex;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(int goodsNumber) {
        this.goodsNumber = goodsNumber;
    }
}
